package edu.stanford.hardon.Media;

import java.util.Date;

import android.os.Bundle;

public class TextMedia extends Media {
	
	private String content;

	public TextMedia() {
		
	}
	
	public TextMedia(Long dbID, Long tripID, MediaType type, Double lat, Double lng, Double alt, Date timeCaptured, Date timeUploaded, Long parentID, String content) {
		super(dbID, tripID, type, lat, lng, alt, timeCaptured, timeUploaded, parentID);
		this.content = content;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public Bundle serialize(){
		Bundle b = super.serialize();
		
		b.putString("content", this.content);
		
		return b;
	}
	
}